package enumTest;

/**
 * @description:枚举测试
 * @author: guoc
 * @createDate: 2020/7/20 17:11
 */
public enum Season1 implements Show {

    SPRING("春天","鸟语花香"),
    SUMMER("夏天","夏日炎炎"),
    AUTUMN("秋天","秋高气爽"),
    WINNER("冬天","寒风瑟瑟");

    private final String seasonName;
    private final String seasonDesc;

    Season1(String seasonName, String seasonDesc) {
        this.seasonName=seasonName;
        this.seasonDesc=seasonDesc;
    }

    public String getSeasonName() {
        return seasonName;
    }

    public String getSeasonDesc() {
        return seasonDesc;
    }

    @Override
    public void show() {
        System.out.println("一年四季：春夏秋冬");
    }
}
